package com.liar.modular.Heat.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author 小蜗牛找房子
 * @since 2020-07-09
 */
@TableName("sys_weight")
public class SysWeight extends Model<SysWeight> {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
    @TableField("data_timer")
    private Date dataTimer;

    private String frequency;
    @TableField("h_number")
    private Integer hNumber;
    @TableField("t_weight")
    private Float tWeight;

    @TableField("n_weight")
    private Float nWeight;


    @TableField("s_weight")
    private Float sWeight;

    @TableField("big_bag")
    private Integer bigBag;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }
    public Date getDataTimer() {
        return dataTimer;
    }

    public void setDataTimer(Date dataTimer) {
        this.dataTimer = dataTimer;
    }
    public String getFrequency() {
        return frequency;
    }

    public void setFrequency(String frequency) {
        this.frequency = frequency;
    }
    public Integer gethNumber() {
        return hNumber;
    }

    public void sethNumber(Integer hNumber) {
        this.hNumber = hNumber;
    }
    public Float gettWeight() {
        return tWeight;
    }

    public void settWeight(Float tWeight) {
        this.tWeight = tWeight;
    }
    public Float getnWeight() {
        return nWeight;
    }

    public void setnWeight(Float nWeight) {
        this.nWeight = nWeight;
    }
    public Float getsWeight() {
        return sWeight;
    }

    public void setsWeight(Float sWeight) {
        this.sWeight = sWeight;
    }
    public Integer getBigBag() {
        return bigBag;
    }

    public void setBigBag(Integer bigBag) {
        this.bigBag = bigBag;
    }

    @Override
    protected Serializable pkVal() {
        return this.id;
    }

    @Override
    public String toString() {
        return "SysWeight{" +
            "id=" + id +
            ", dataTimer=" + dataTimer +
            ", frequency=" + frequency +
            ", hNumber=" + hNumber +
            ", tWeight=" + tWeight +
            ", nWeight=" + nWeight +
            ", sWeight=" + sWeight +
            ", bigBag=" + bigBag +
        "}";
    }
}
